<app-dialog-component *ngIf="newPasswordForm" [title]="title" [formGroup]="newPasswordForm" [formHasToBeEdited]="true" (okEmitter)="saveAndClose()">
  <app-password-form [newPasswordForm]="newPasswordForm" [previousPasswordNecessary]="true"></app-password-form>
</app-dialog-component>
